package com.hucheng.order.mapper;

import com.hucheng.order.entity.OrderItemDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: 凉白开不加冰
 * @Version: 0.0.1V
 * @Date: 2019-07-17
 * @Description: 子订单
 **/
@Mapper
public interface OrderItemMapper {
    Integer insert(@Param("lists") List<OrderItemDO> lists);

    void update(@Param("orderId") Integer orderId, @Param("userId") Integer userId);
}
